< previous page page_214 next page >

Page 214
As you can see, these PC-resident database types have been around for a while and are available from almost any computer software store. Accessing these databases doesn't require any other software to be installed on the PC, nor does it require special knowledge on how to work with them. However, the size of local databases is restricted. For example, Microsoft Access 97 databases can't exceed 1GB (gigabyte).
Local databases are generally used for single-user applications such as checkbooks, address books, and personal information managers. Some enterprising teenagers have created database applications that help them keep track of their baseball cards or video tapes. So in deciding what your application will address and how it will be used actually helps you in the database selection process.
Remote Databases
By definition, remote databases don't reside on the user's PC, but this isn't always true. In fact, a remote database is any type of database that requires an ODBC (Open Database Connectivity) driver for an application to access it. ODBC databases fall into two main categories: ones that run on a single PC, and the larger corporate ones that require large, very powerful computers (called servers) with large amounts of available disk space. Database servers are used to separate the workload between the client PC (where the application executes) and the database system (where the database queries are performed). This provides the application with fast data access without slowing down the user's PC.
Most of the large server-type databases provide versions that will run on standalone PCs. Most large corporations use one of the following database systems (though this is not to say that others aren't out there):
Oracle
Sybase
Microsoft SQL Server
Using a remote database requires you to use either the remote database objects available only in the Enterprise version of Visual Basic 6 or the new ActiveX Data Objects available in all releases of Visual Basic 6. If you're designing an application that will use one of these large databases, however, the best way to create the application is to use the single-PC version during the design, development, and testing process. Then, when the application is completed, switch the ODBC connection to the larger, server-based version.

 
< previous page page_214 next page >

If you like this book, buy it!